package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.ClientLost;
import cn.wolfcode.crm.query.ClientLostQueryObject;
import cn.wolfcode.crm.util.PageResult;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

public interface IClientLostService {
    void deleteByPrimaryKey(Long id);

    void insert(ClientLost entity);

    ClientLost selectByPrimaryKey(Long id);

    List<ClientLost> selectAll();

    void updateByPrimaryKey(ClientLost entity);

    PageResult query(ClientLostQueryObject qo);

    void changState(Long id, Long clientId);

    Workbook exportXls(ClientLostQueryObject qo);
}
